<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>店面申请</title>
<link rel="stylesheet" type="text/css"
	href="themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css"
	href="themes/icon.css">
<link rel="stylesheet" type="text/css"
	href="themes/color.css">
<script type="text/javascript"
	src="js/jquery.min.js"></script>
<script type="text/javascript"
	src="js/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="js/easyui-lang-zh_CN.js"></script>
</head>
<script type="text/javascript">
$(function(){
	$("#qd").click(function(){	
		var psd=$("#psd").val()
	$.ajax({
		url : 'sqkdly?Psd='+psd,
		data : {
			selectNum : $("#psd").val()
		},
		dataType : 'json',
		type : 'post',
		success : function(r){
			if(r==1){
				alert("申请成功了 管理员会与您联系  ")
			}else if(r==2){
				alert("申请失败  ")
			}else{
				alert("密码不对哟 ")
			}
			}
		})
	})
})
</script>
<body>
	<input placeholder="确认输入您的密码" style="display: block;" id="psd" class="form-control" type="password" />	
	<button id="qd" class="btn btn-default" style="margin-top: 10px;">确定申请</button>
</form>
</body>
</html>